package com.ruoyi.finance.domain.DTO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * (KltPurchaseDetail)表实体类
 *
 * @author makejava
 * @since 2024-12-19 12:18:03
 */
@SuppressWarnings("serial")
@Data
@Getter
@Setter
public class KltPurchaseDetailDTO extends Model<KltPurchaseDetailDTO> {

    @Excel(name = "采购员")
    private String purchaser;
    @Excel(name = "采购日期",dateFormat ="yyyy-MM-dd" )
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    private Date purchaseDate;
    @Excel(name = "采购下单名称")
    private String orderName;
    @Excel(name = "采购订单号")
    private String orderNumber;

    @Excel(name = "产品名称")
    private String productName;
    @Excel(name = "型号")
    private String model;
    @Excel(name = "库存数量")
    private Long stockQuantity;
    @Excel(name = "单位")
    private String unit;
    @Excel(name = "订货号")
    private String orderNumberProduct ;
    @Excel(name = "采购数量")
    private Integer quantity;
    @Excel(name = "采购未税单价")
    private BigDecimal unitPrice;
    @Excel(name = "采购未税金额 ")
    private BigDecimal amount;
    @Excel(name = "含税单价")
    private BigDecimal taxIncludedPrice;
    @Excel(name = "采购总价")
    private BigDecimal totalPrice;
    @Excel(name = "付款凭证")
    private String paymentVoucher;
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @Excel(name = "付款日期",dateFormat ="yyyy-MM-dd" )
    private Date paymentDate;
    @Excel(name = "付款金额")
    private BigDecimal paymentAmount;
    @Excel(name = "未付款金额")
    private BigDecimal unpaidAmount;
    @Excel(name = "进项发票号码")
    private String invoiceNumber;
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @Excel(name = "进项开票日期",dateFormat ="yyyy-MM-dd" )
    private Date invoiceDate;
    @Excel(name = "进项开票数量")
    private Integer invoiceQuantity;
    @Excel(name = "开票含税金额")
    private BigDecimal invoiceAmount;
    @Excel(name = "未开票金额")
    private BigDecimal unpaidInvoiceAmount;
    @Excel(name = "采购货期")
    private String deliveryDate;

    private String isDel;

    private Date createTime;

    private String createSource;

    private Date updateTime;

    private String updateUser;





}

